<template>
  <div class="right-chart-2">
    <div class="rc1-header">
      农事任务建议
    </div>

    <div class="rc1-chart-container">
      <dv-scroll-board :config="config" style="height:200px" />
    </div>
  </div>
</template>

<script lang="ts" setup>
const config = {
  "header": ['列1', '列2', '列3'],
  "data": [['行1列1', '行1列2', '行1列3'],
  ['行2列1', '行2列2', '行2列3'],
  ['行3列1', '行3列2', '行3列3'],
  ['行4列1', '行4列2', '行4列3'],
  ['行5列1', '行5列2', '行5列3'],
  ['行6列1', '行6列2', '行6列3'],
  ['行7列1', '行7列2', '行7列3'],
  ['行8列1', '行8列2', '行8列3'],
  ['行9列1', '行9列2', '行9列3'],
  ['行10列1', '行10列2', '行10列3']],
  "rowNum": 5,
  "align": ['center'],
  "index": true

}
</script>

<style lang="scss" scoped>
.right-chart-2 {
  width: 100%;
  display: flex;
  flex-direction: column;

  .rc1-header {
    font-size: 24px;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
  }

  .rc1-chart-container {
    flex: 1;
    display: flex;
  }

  .left {
    width: 30%;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    .number {
      font-size: 34px;
      color: #096dd9;
      font-weight: bold;
      margin-bottom: 30px;
    }
  }

  .right {
    flex: 1;
    padding-bottom: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
}
</style>
